1 using System;
2 using
System.Collections.Generic;
3 using
System.Linq;
4 using
System.Text;
5
6 namespace
Assets.Scripts
7 {
8     
//enums for the state of the slingshot, the
9     
//state of the game and the state of the bird
10     
public enum SlingshotState
11     {
12         Idle,
13         UserPulling,
14         BirdFlying
15     }
16
17     
public enum GameState
18     {
19         Start,
20         BirdMovingToSlingshot,
21         Playing,
22         Won,
23         Lost
24     }
25
26
27     
public enum BirdState
28     {
29         BeforeThrown,
30         Thrown
31     }
32     
33 }



Trò chơi Angry Birds trong UNITY Engine 31.654 lượt xem

Gõ tìm kiếm nhanh...